package com.hh.spare.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Spare {
    private Integer id;

    private String spareCode;

    private String spareName;

    private Integer status;

    private Integer planCategoryId;

    private Integer spareChildId;

    private int[] legalPersonIds;
    private Integer legalPersonId;
    private String createPerson;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String updatePerson;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private Integer version;

    //备件小类名称
    private String subClassName;

    //备件大类名称
    private String planCategoryName;

    //法人名称
    private String legalPersonName;

}